package com.lwj.designpattern.create.factory.entity;

/**
 * @author wujilee
 * @date 2022/11/15
 */
public class YellowCar extends  Car{
    public YellowCar() {
    this.color ="Yellow";
    }

    @Override
    public void carColor() {
        System.out.println(String.format("正在上次汽车，颜色是",color));
    }
}
